// Mystery Manor Custom Object Types

beginscendatascript;

// --- custom floors/additional floors ---
// --- some additional floors via Kelandon's Custom Objects Script Base v1.0.1

begindefinefloor 132;
	import = 81;
	fl_which_sheet = 705;
	fl_which_icon = 9;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 59;
        
begindefinefloor 133;
	import = 117;
	fl_which_sheet = 707;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 74;
        
begindefinefloor 134;
	import = 117;
	fl_which_sheet = 709;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 91;

begindefinefloor 135;
	import = 122;
	fl_name = "Black Floor";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;

begindefinefloor 136;
	import = 73;
	fl_name = "Grass";
	fl_which_sheet = 751;
	fl_which_icon = 5;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 15;
        
begindefinefloor 137;
	import = 77;
	fl_which_sheet = 751;
	fl_which_icon = 6;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 16;
        
begindefinefloor 138;
	import = 95;
	fl_which_sheet = 751;
	fl_which_icon = 7;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 17;
        
begindefinefloor 139;
	import = 81;
	fl_which_sheet = 759;
	fl_which_icon = 8;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 98;
        
begindefinefloor 140;
	import = 81;
	fl_which_sheet = 759;
	fl_which_icon = 9;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 99;
        
begindefinefloor 141;
	import = 100;
	fl_which_sheet = 761;
	fl_which_icon = 4;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 14;
        
begindefinefloor 142;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
	fl_anim_steps = 4;
        
begindefinefloor 143;
	import = 100;
	fl_which_sheet = 761;
	fl_which_icon = 9;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 19;

begindefinefloor 144;
	clear;
	fl_name = "Roof";
	fl_which_sheet = 507;
	fl_which_icon = 8;
	fl_ed_which_sheet = 506;
	fl_ed_which_icon = 7;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 145;
	fl_which_icon = 7;
	fl_ed_which_icon = 8;

// --- custom terrain ---

begindefineterrain 175;
	import = 125;
	te_name = "Metal Barrel";
	te_which_sheet = 505;
	te_which_icon = 4;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 14;
begindefineterrain 176;
	te_which_icon = 5;
	te_ed_which_icon = 15;

begindefineterrain 177;
	import = 125;
	te_name = "Wash Basin";
	te_which_sheet = 505;
	te_which_icon = 6;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 16;

begindefineterrain 271;
	import = 403;
	te_name = "Bottle Rack";
	te_which_sheet = 505;
	te_which_icon = 7;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 17;

begindefineterrain 287;
	import = 280;
	te_name = "Cross";
	te_which_sheet = 720;
	te_which_icon = 4;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 94;
begindefineterrain 288;
	te_name = "Headstone";
	te_which_icon = 5;
	te_ed_which_icon = 95;

begindefineterrain 297;
	import = 183;
	te_name = "Target";
	te_which_sheet = 507;
	te_which_icon = 6;
	te_ed_which_sheet = 506;
	te_ed_which_icon = 6;

begindefineterrain 358;
	import = 200;
	te_name = "Display Case";
	te_which_sheet = 504;
	te_which_icon = 4;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 4;
begindefineterrain 359;
	te_which_icon = 5;
	te_ed_which_icon = 5;

begindefineterrain 377;
	import = 125;
	te_name = "Keg";
	te_which_sheet = 720;
	te_which_icon = 6;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 96;
begindefineterrain 378;
	te_which_icon = 7;
	te_ed_which_icon = 97;

begindefineterrain 390;
	import = 204;
	te_name = "Fancy Bed";
	te_which_sheet = 504;
	te_which_icon = 0;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 0;
begindefineterrain 391;
	te_which_icon = 1;
	te_ed_which_icon = 1;
begindefineterrain 392;
	te_name = "Bunk Bed";
	te_which_icon = 2;
	te_ed_which_icon = 2;
begindefineterrain 393;
	te_which_icon = 3;
	te_ed_which_icon = 3;

begindefineterrain 407;
	clear;
	te_name = "Loo";
	te_default_script = "loo";
	te_which_sheet = 505;
	te_which_icon = 8;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 18;
	te_can_look_at = 1;
	te_draw_on_automap = 1;
begindefineterrain 408;
	te_which_icon = 9;
	te_ed_which_icon = 19;

begindefineterrain 421;
	import = 289;
	te_name = "Wood Stairs";
	te_which_sheet = 504;
	te_which_icon = 6;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 6;
begindefineterrain 422;
	te_which_icon = 7;
	te_ed_which_icon = 7;
	te_special_property = 19;
begindefineterrain 423;
	te_which_icon = 8;
	te_ed_which_icon = 8;
	te_special_property = 21;
begindefineterrain 424;
	te_which_icon = 9;
	te_ed_which_icon = 9;
	te_special_property = 23;

begindefineterrain 425;
	import = 200;
	te_name = "Desk";
	te_which_sheet = 505;
	te_which_icon = 0;
	te_ed_which_sheet = 503;
	te_ed_which_icon = 10;
begindefineterrain 426;
	te_which_icon = 1;
	te_ed_which_icon = 11;
begindefineterrain 427;
	te_which_icon = 2;
	te_ed_which_icon = 12;
begindefineterrain 428;
	te_which_icon = 3;
	te_ed_which_icon = 13;

begindefineterrain 429;
	clear;
	te_name = "Basin";
	te_default_script = "basin";
	te_which_sheet = 507;
	te_which_icon = 0;
	te_ed_which_sheet = 506;
	te_ed_which_icon = 0;
	te_can_look_at = 1;
	te_draw_on_automap = 1;
begindefineterrain 430;
	te_which_icon = 1;
	te_ed_which_icon = 1;

begindefineterrain 431;
	import = 208;
	te_name = "Potted Shrub";
	te_which_sheet = 507;
	te_which_icon = 2;
	te_ed_which_sheet = 506;
	te_ed_which_icon = 2;
	te_can_look_at = 1;
begindefineterrain 432;
	te_name = "Shrub";
	te_which_icon = 3;
	te_ed_which_icon = 3;
begindefineterrain 433;
	te_which_icon = 4;
	te_ed_which_icon = 4;
begindefineterrain 434;
	te_which_icon = 5;
	te_ed_which_icon = 5;

begindefineterrain 435;
	import = 182;
	te_which_sheet = 509;
	te_which_icon = 0;
begindefineterrain 436;
	import = 183;
	te_which_sheet = 509;
	te_which_icon = 1;
begindefineterrain 437;
	import = 182;
	te_which_sheet = 509;
	te_which_icon = 2;
begindefineterrain 438;
	import = 183;
	te_which_sheet = 509;
	te_which_icon = 3;
begindefineterrain 439;
	import = 182;
	te_which_sheet = 509;
	te_which_icon = 4;
begindefineterrain 440;
	import = 183;
	te_which_sheet = 509;
	te_which_icon = 5;
begindefineterrain 441;
	import = 182;
	te_which_sheet = 509;
	te_which_icon = 6;
begindefineterrain 442;
	import = 183;
	te_which_sheet = 509;
	te_which_icon = 7;
begindefineterrain 443;
	import = 182;
	te_which_sheet = 509;
	te_which_icon = 8;
begindefineterrain 444;
	import = 183;
	te_which_sheet = 509;
	te_which_icon = 9;

// --- custom items ---

begindefineitem 450;
	import = 149;
	it_full_name = "Basket";
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;

begindefineitem 451;
	import = 376;
	it_full_name = "Napkin";
	it_floor_which_icon = 8;
	it_inventory_icon = 8;

begindefineitem 452;
	clear;
	it_name = "Rod";
	it_full_name = "Lightning Rod";
	it_variety = 21;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_weight = 20;
	it_magic = 1;
	it_ability_1 = 219;
	it_ability_str_1 = 11;

begindefineitem 453;
	clear;
	it_name = "Bucket of Dirt";
	it_full_name = "Bucket of Dirt";
	it_variety = 21;
	it_floor_which_sheet = 508;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_weight = 60;
	it_magic = 1;
	it_ability_1 = 219;
	it_ability_str_1 = 12;

begindefineitem 454;
	clear;
	it_name = "Towel";
	it_full_name = "Large Towel";
	it_variety = 21;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 9;
	it_inventory_icon = 9;
	it_weight = 30;
	it_magic = 1;
	it_ability_1 = 219;
	it_ability_str_1 = 13;

begindefineitem 455;
	clear;
	it_name = "Fan";
	it_full_name = "Fan";
	it_variety = 21;
	it_floor_which_sheet = 510;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_weight = 20;
	it_magic = 1;
	it_ability_1 = 219;
	it_ability_str_1 = 14;

begindefineitem 456;
	clear;
	it_name = "Screwdriver";
	it_full_name = "Screwdriver";
	it_variety = 21;
	it_floor_which_sheet = 511;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_weight = 5;
	it_value = 5;

begindefineitem 457;
	clear;
	it_name = "Journal";
	it_full_name = "Journal";
	it_variety = 21;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 0;
	it_inventory_icon = 0;
	it_ability_1 = 207;
	it_ability_str_1 = 15;
	it_value = 0;
	it_weight = 10;
	it_identified = 1;
	it_magic = 1;
begindefineitem 458;
	it_floor_which_icon = 1;
	it_inventory_icon = 1;
	it_ability_str_1 = 17;
begindefineitem 459;
	it_floor_which_icon = 2;
	it_inventory_icon = 2;
	it_ability_str_1 = 19;
begindefineitem 460;
	it_floor_which_icon = 3;
	it_inventory_icon = 3;
	it_ability_str_1 = 21;
	it_icon_adjust = 2;
begindefineitem 461;
	it_name = "Torn Paper";
	it_full_name = "Journal Page";
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_ability_str_1 = 23;
	it_weight = 0;
	it_identified = 0;
	it_icon_adjust = 8;

begindefineitem 462;
	clear;
	it_name = "Flute";
	it_full_name = "Flute of Unfreezing";
	it_variety = 21;
	it_floor_which_sheet = 512;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_weight = 10;
	it_value = 1500;
	it_magic = 1;

// --- custom creatures ---

begindefinecreature 234;
	clear;
	cr_name = "Electical Vortex";
	cr_default_script = "vortex";
	cr_which_sheet = 520;
	cr_small_or_large_template = 0;
	cr_level = 100;
	cr_hp_bonus = 2000;
	cr_special_abil = 32;
	cr_default_attitude = 4;
	cr_species = 14;
	cr_natural_armor = 25;
	cr_ap_bonus = 3;
	cr_attack_1 = 5;
	cr_attack_1_type = 8;
	cr_immunities 4 = 100;
	cr_what_stat_adjust 0 = 19;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 20;
	cr_amount_stat_adjust 1 = 6;
	cr_what_stat_adjust 2 = 26;
	cr_amount_stat_adjust 2 = 6;

begindefinecreature 235;
	clear;
	cr_name = "Water Vortex";
	cr_default_script = "vortex";
	cr_which_sheet = 521;
	cr_small_or_large_template = 0;
	cr_level = 100;
	cr_hp_bonus = 2100;
	cr_default_attitude = 4;
	cr_species = 14;
	cr_natural_armor = 25;
	cr_ap_bonus = 3;
	cr_attack_1 = 6;
	cr_attack_1_type = 8;
	cr_immunities 1 = 100;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 18;
	cr_amount_stat_adjust 1 = 6;
	cr_what_stat_adjust 2 = 23;
	cr_amount_stat_adjust 2 = 6;

begindefinecreature 236;
	clear;
	cr_name = "Fire Vortex";
	cr_default_script = "vortex";
	cr_which_sheet = 522;
	cr_small_or_large_template = 0;
	cr_level = 100;
	cr_hp_bonus = 2200;
	cr_default_attitude = 4;
	cr_species = 14;
	cr_natural_armor = 25;
	cr_ap_bonus = 3;
	cr_attack_1 = 7;
	cr_attack_1_type = 8;
	cr_immunities 0 = 100;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 10;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 19;
	cr_amount_stat_adjust 2 = 6;
	cr_what_stat_adjust 3 = 28;
	cr_amount_stat_adjust 3 = 6;

begindefinecreature 237;
	clear;
	cr_name = "Air Vortex";
	cr_default_script = "vortex";
	cr_which_sheet = 523;
	cr_small_or_large_template = 0;
	cr_level = 100;
	cr_hp_bonus = 2300;
	cr_default_attitude = 4;
	cr_species = 14;
	cr_natural_armor = 25;
	cr_ap_bonus = 3;
	cr_attack_1 = 8;
	cr_attack_1_type = 8;
	cr_immunities 2 = 100;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 10;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 20;
	cr_amount_stat_adjust 2 = 8;
	cr_what_stat_adjust 3 = 26;
	cr_amount_stat_adjust 3 = 8;
